package com.songcha.library_business.bean.advert


data class AdvertInfoBean(var type:Int,val timeout:Int,val preload:Boolean,val code_ids:CodeIdsBean) {
    constructor():this(0, 10,false,CodeIdsBean(listOf(), listOf()))

    companion object{
        const val ADVERT_TYPE_DIS_ENABLED = 0
        const val ADVERT_TYPE_CSJ = 1
        const val ADVERT_TYPE_GDT = 2
    }

    data class CodeIdsBean(val csj:List<CodeInfoBean>,val gdt:List<CodeInfoBean>){
        data class CodeInfoBean(val id:String,val ar:Float)
    }
}